package com.wcs.exam.controller.admin.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * Admin-订单信息-分页请求参数
 * </p>
 *
 * @author wcs
 * @since 2025-03-17
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "Admin-订单信息-分页请求参数")
public class AdminOrderInfoPageReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "下单用户编号")
    private Long userId;

    @Schema(description = "下单用户电话")
    private String mobile;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "下单用户注册时间")
    private LocalDateTime registerTime;

    @Schema(description = "商品ID")
    private Long goodsId;

    @Schema(description = "划线价")
    private BigDecimal linePrice;

    @Schema(description = "课程价格")
    private BigDecimal price;

    @Schema(description = "订单状态：1待支付，2成功支付，3支付失败，4关闭支付")
    private Integer orderStatus;

    @Schema(description = "支付方式：1微信支付，2支付宝支付")
    private Integer payType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "支付时间")
    private LocalDateTime payTime;

    @Schema(description = "客户备注")
    private String remarkCus;

    @Schema(description = "后台备注")
    private String remark;

    @Schema(description = "当前页")
    private Long pageCurrent = 1L;

    @Schema(description = "每页条数")
    private Long pageSize = 20L;

}
